﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000907 RID: 2311
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HeliobusStartRaidScRsp : IMessage<HeliobusStartRaidScRsp>, IMessage, IEquatable<HeliobusStartRaidScRsp>, IDeepCloneable<HeliobusStartRaidScRsp>, IBufferMessage
	{
		// Token: 0x17001D3A RID: 7482
		// (get) Token: 0x06006794 RID: 26516 RVA: 0x00115E15 File Offset: 0x00114015
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HeliobusStartRaidScRsp> Parser
		{
			get
			{
				return HeliobusStartRaidScRsp._parser;
			}
		}

		// Token: 0x17001D3B RID: 7483
		// (get) Token: 0x06006795 RID: 26517 RVA: 0x00115E1C File Offset: 0x0011401C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HeliobusStartRaidScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001D3C RID: 7484
		// (get) Token: 0x06006796 RID: 26518 RVA: 0x00115E2E File Offset: 0x0011402E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HeliobusStartRaidScRsp.Descriptor;
			}
		}

		// Token: 0x06006797 RID: 26519 RVA: 0x00115E35 File Offset: 0x00114035
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusStartRaidScRsp()
		{
		}

		// Token: 0x06006798 RID: 26520 RVA: 0x00115E40 File Offset: 0x00114040
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusStartRaidScRsp(HeliobusStartRaidScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.scene_ = ((other.scene_ != null) ? other.scene_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006799 RID: 26521 RVA: 0x00115E8C File Offset: 0x0011408C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusStartRaidScRsp Clone()
		{
			return new HeliobusStartRaidScRsp(this);
		}

		// Token: 0x17001D3D RID: 7485
		// (get) Token: 0x0600679A RID: 26522 RVA: 0x00115E94 File Offset: 0x00114094
		// (set) Token: 0x0600679B RID: 26523 RVA: 0x00115E9C File Offset: 0x0011409C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001D3E RID: 7486
		// (get) Token: 0x0600679C RID: 26524 RVA: 0x00115EA5 File Offset: 0x001140A5
		// (set) Token: 0x0600679D RID: 26525 RVA: 0x00115EAD File Offset: 0x001140AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GAMNEPOEGHM Scene
		{
			get
			{
				return this.scene_;
			}
			set
			{
				this.scene_ = value;
			}
		}

		// Token: 0x0600679E RID: 26526 RVA: 0x00115EB6 File Offset: 0x001140B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HeliobusStartRaidScRsp);
		}

		// Token: 0x0600679F RID: 26527 RVA: 0x00115EC4 File Offset: 0x001140C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HeliobusStartRaidScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.Scene, other.Scene) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060067A0 RID: 26528 RVA: 0x00115F14 File Offset: 0x00114114
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.scene_ != null)
			{
				num ^= this.Scene.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060067A1 RID: 26529 RVA: 0x00115F69 File Offset: 0x00114169
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060067A2 RID: 26530 RVA: 0x00115F71 File Offset: 0x00114171
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060067A3 RID: 26531 RVA: 0x00115F7C File Offset: 0x0011417C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this.scene_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.Scene);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060067A4 RID: 26532 RVA: 0x00115FD8 File Offset: 0x001141D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.scene_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Scene);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060067A5 RID: 26533 RVA: 0x00116030 File Offset: 0x00114230
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HeliobusStartRaidScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.scene_ != null)
			{
				if (this.scene_ == null)
				{
					this.Scene = new GAMNEPOEGHM();
				}
				this.Scene.MergeFrom(other.Scene);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060067A6 RID: 26534 RVA: 0x00116098 File Offset: 0x00114298
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060067A7 RID: 26535 RVA: 0x001160A4 File Offset: 0x001142A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					if (num != 106U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.scene_ == null)
						{
							this.Scene = new GAMNEPOEGHM();
						}
						input.ReadMessage(this.Scene);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002790 RID: 10128
		private static readonly MessageParser<HeliobusStartRaidScRsp> _parser = new MessageParser<HeliobusStartRaidScRsp>(() => new HeliobusStartRaidScRsp());

		// Token: 0x04002791 RID: 10129
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002792 RID: 10130
		public const int RetcodeFieldNumber = 9;

		// Token: 0x04002793 RID: 10131
		private uint retcode_;

		// Token: 0x04002794 RID: 10132
		public const int SceneFieldNumber = 13;

		// Token: 0x04002795 RID: 10133
		private GAMNEPOEGHM scene_;
	}
}
